package com.entity.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 课程与课程之间的后继关系
 * </p>
 *
 * @author chenMo
 * @since 2022-04-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="CoursesRelation对象", description="课程与课程之间的后继关系")
public class CoursesRelation implements Serializable {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "课程id")
    @TableField("courseId")
    private Integer courseId;

    @ApiModelProperty(value = "后继课程id")
    @TableField("nextCourseId")
    private Integer nextCourseId;

    @ApiModelProperty(value = "关联等级，4:全关联、3:强管理、2:半关联、1:弱关联")
    @TableField("relationLevel")
    private Integer relationLevel;

    @ApiModelProperty(value = "创建人id")
    @TableField("createdById")
    private String createdById;

    @ApiModelProperty(value = "创建人姓名")
    @TableField("createdByName")
    private String createdByName;

    @TableLogic
    @TableField(value = "isDeleted", fill = FieldFill.INSERT)
    private Integer isDeleted;

    @TableField(value = "createTime", fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间", example = "2019-01-01 10:10:10")
    private Date createTime;

    @TableField(value = "updateTime", fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "更改时间", example = "2019-02-01 10:10:10")
    private Date updateTime;


}
